home *** CD-ROM | disk | FTP | other *** search
- --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
- -- UNIT NAME : Bit_Functions
- -- VERSION : 1.0
- -- REVIEW CODE :
- -- DDN ADDRESS : FMOORE%TI-EG@CSNET-RELAY
- -- AUTHOR : Freeman L. Moore
- -- : P.O. Box 801 M/S 8006
- -- : Texas Instruments, Inc.
- -- : McKinney, Texas 75069
- -- COPYRIGHT : (c) 1985
- -- DATE CREATED : February 1985
- -- DATE RELEASED : June 1985
- -- DATE LAST UPDATED : June 1985
- -- LOCATION : C2MUG
- -- LOCATION : ASR
- -- ENVIRONMENT :
- --= CLASSIFICATION ===============================================--
- -- CATEGORY LEVEL 1 : MATH
- -- CATEGORY LEVEL 2 : Library
- -- CATEGORY LEVEL 3 : Bit Functions
- -- CATEGORY LEVEL 4 :
- -- KEYWORD : bit functions
- -- KEYWORD : shifting
- -- KEYWORD : masks
- -- INDEX : Bit Functions
- -- INDEX : Functions, Bit
- -- INDEX : Shifting
- -- INDEX : Masks
- -- TAXONOMY :
- -- DEPENDENCIES :
- -- SEE ALSO :
- --= FILE LISTING ===============================================--
- -- FILE SPECS : PD:<ADA.MATH>BIT.*
- -- DIRECTORY DISPLAY :
- -- Directory PD:<ADA.MATH>
- -- File Name Byte Count Line Count
- -- --------------- ---------- ----------
- -- BIT.ADA 9918 267
- -- BIT.PRO 3181 67
- -- =============== ========== ==========
- -- 2 Files 13099 334
- --= ABSTRACT ===============================================--
- -- This package represents a collection of routines which allow
- -- the Ada programmer the ability of perform bit operations on objects of
- -- type INTEGER. The functions include the ability to extract/insert bit
- -- fields, shift objects left or right, and/or objects and create bit
- -- masks.
- --= REVISION HISTORY ===============================================--
- --
- -- DATE VERSION AUTHOR HISTORY
- -- Feb 85 1.0 Freeman Moore original
- --= RELEASE NOTICE ===============================================--
- -- This prologue must be included in all copies of this software.
- --
- -- This software is copyright by the author.
- --
- -- This software is released to the Ada community.
- -- This software is released to the Public Domain (note:
- -- software released to the Public Domain is not subject
- -- to copyright protection).
- -- Restrictions on use or distribution: NONE
- --= DISCLAIMER ===============================================--
- -- This software and its documentation are provided "AS IS" and
- -- without any expressed or implied warranties whatsoever. No warranties
- -- as to performance, merchantability, or fitness for a particular
- -- purpose exist.
- -- The user is advised to test the software thoroughly before
- -- relying on it. The user must assume the entire risk and liability of
- -- using this software. In no event shall any person or organization of
- -- people be held responsible for any direct, indirect, consequential or
- -- inconsequential damages or lost profits.
- --======================================================================--
-